<%-- 
    Document   : IndexView
    Created on : 20-jun-2013, 18:21:22
    Author     : John Castillo Valencia
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c"      uri="http://java.sun.com/jsp/jstl/core" %>
<%@taglib prefix="fmt"    uri="http://java.sun.com/jsp/jstl/fmt" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">

<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>.::LICI::.</title>
        <link rel="stylesheet" type="text/css" href="css/menu.css" media="screen" />
    </head>
    <body>
        <table style="width: 300px" cellspacing="0" cellpadding="0">
            <tr id="menuHead">
                <td class="treenode"><img src="resources/icons/common_tasks.gif"></td>
                <td style="cursor:pointer"><span style="color:white"><b>Menu de tareas</b></span></td>
            </tr>
            <c:forEach var="item" items="${usuario.categorias}">
                <tr>
                    <td class="treenode"><img src="${item.icono}"></td>
                    <td style="cursor:pointer"><b>${item.categoria}</b></td>
                </tr>
                <c:forEach var="fnc" items="${item.funciones}">
                    <tr>
                        <td class="treenode"><!--<img src="resources/icons/tree_linemiddlenode.png">--><img src="${fnc.icono}"></td>
                        <td><a href="<c:url value="${fnc.url}"/>" target="main" title=" ${fnc.descripcion} ">${fnc.funcion}</a></td>
                    </tr>
                </c:forEach>
            </c:forEach>
        </table>
        <br/>     
    </body>
</html>
